package com.enhe.gck.pojo;
 import java.util.Date;
 import java.lang.String;
 import java.lang.Integer;
 import java.math.BigDecimal;
 import java.lang.Long;
 import java.lang.Float;
 import java.lang.Double;
 import com.kuangkie.carbon.record.Updatable;
 import com.kuangkie.carbon.record.annotation.Attribute;
 import com.kuangkie.carbon.record.annotation.CarbonRecord;
 import com.kuangkie.carbon.record.annotation.RecordCode;
 import com.alibaba.fastjson.annotation.JSONField;
 import com.kuangkie.carbon.uid.model.UidManager;

// 部门信息
@CarbonRecord("hwane17432")
public class Department implements Updatable{
    @JSONField(name="唯一编码")
    @RecordCode
    private Long id = UidManager.getLongUID();

    // NS主键
    @JSONField(name="NS主键")
    @Attribute("hwan17434")
    private String nsId;

    // 部门
    @JSONField(name="部门")
    @Attribute("hwan17435")
    private String department;

    public String getNsId() { 
        return nsId;
    }
    public void setNsId(String nsId) {
        this.nsId = nsId;
    }
    public Long getId() { 
        return id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getDepartment() { 
        return department;
    }
    public void setDepartment(String department) {
        this.department = department;
    }
    @Override
    public String getRecordCode() {
        return this.id==null ? null : this.id.toString();
    }
}